<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{if isset($data_seo.seo_title)}{$data_seo.seo_title}{/if}</title>
	<link rel="stylesheet" type="text/css" href="/static/home/css/swiper-4.2.2.min.css">
	<link rel="stylesheet" href="/static/home/css/main.css">
    <script src="/static/home/js/swiper-4.2.2.min.js" ></script>
    <link rel="stylesheet" type="text/css" href="/static/home/css/alert.css">
</head>
<body>
     {include file="public/header" /}

    <div class="houdong-1">
        <div class="houdong-1-bt">
            <div class="bt-1"><img class="bt1" src="/static/home/img/hd1.png" alt=""><a  href="/index.php/jdhome/index/id/39"><img class="bt2" src="/static/home/img/hd1(1).png" alt=""></a></div>
            <div class="bt-2"><img class="bt1" src="/static/home/img/hd2.png" alt=""><a  href="/index.php/jdhome/index/id/40"><img class="bt2" src="/static/home/img/hd2(1).png" alt=""></a></div>
            <div class="bt-3"><img class="bt1" src="/static/home/img/hd3.png" alt=""><a  href="/index.php/jdhome/index/id/45"><img class="bt2" src="/static/home/img/hd3(1).png" alt=""></a></div>
        </div>
    </div>
    <div class="style-2" style="padding-top: 85px">
        
        
        
        {volist name="data_jd" id="v"}
        
             <div class="style-2-1">
            <img src="{$v.main_img}" alt="">
            <div class="style-2-1-1">
                <div class="style-2-1-nr">
                    <div class="style-2-1-nr1">
                        <p>Photo Name</p>
                        <span>{$v.title}</span>
                    </div>
                    <div class="style-2-1-nr2">
                        <p>Photo Description</p>
                        <span>{$v.side}</span>
                    </div>
                    <div class="style-2-1-nr3">
                        <img src="/static/home/img/fdmlogo.png" alt="">
                    </div>
                    <a  href="/index.php/jdhome/details/id/{$v.id}"><div class="style-2-1-nr4">
                        <img class="style-2-1-nr4-img1" src="/static/home/img/anniu1.png" alt="">
                        <img class="style-2-1-nr4-img2" src="/static/home/img/anniu2.png" alt="">
                    </div></a>
                </div>
            </div>
        </div>
        
        
        
         
 
               {/volist}
        
        
        
      
    </div>
    <div class="houdong-3">
        {$page}
        <div class="fys xz">1</div>
        <div class="fys">2</div>
        <div class="fys">3</div>
        <div class="fys"><img class="you1" src="/static/home/img/yjt-h.png" alt=""><img class="you2" src="/static/home/img/yjt-b.png" alt=""></div>
    </div>


     {include file="public/foot" /}
    <div class="zhanpin">
        <img class="gb" src="/static/home/img/guabi.png" alt="">
    </div>
    <script src="/static/home/js/jquery-1.11.3.js"></script>
    <script src="/static/home/js/alert.js"></script>
    <script src="/static/home/js/main.js"></script>
</body>
<script>
    var a=0
    function getQueryString(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
        var reg_rewrite = new RegExp("(^|/)" + name + "/([^/]*)(/|$)", "i");
        var r = window.location.search.substr(1).match(reg);
        var q = window.location.pathname.substr(1).match(reg_rewrite);
        if(r != null){
            return unescape(r[2]);
        }else if(q != null){
            return unescape(q[2]);
        }else{
            return null;
        }
    }
    var a=getQueryString("id")
    console.log(a)
    if(a==45){
        $(".bt-3").addClass("bxz"),
        console.log(a)}
    else if(a==40){
        $(".bt-2").addClass("bxz"),
        console.log(a)}
    else if(a==39){
        $(".bt-1").addClass("bxz"),
        console.log(a)}
</script>